package com.derive.education_service.web.admin.bean.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@ToString
public class QueryParam {
    @NotNull(message = "当前页码不能为空")
    private long current; // 当前页码

    @NotNull(message = "记录数不能为空")
    private long size; // 每条记录数

    private String adminName; // 用户昵称

    private Boolean isState; // 用户状态
}
